package com.lankystar.logistucs.spring.dao.impl;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.lankystar.logistucs.spring.dao.ITwoOrderAndTwoStatusDao;

@Repository
public class TwoOrderAndTwoStatusDaoImpl extends BaseDaoImpl implements ITwoOrderAndTwoStatusDao {

	@Autowired
	private SessionFactory sf;
	
	public Session getSession(){
		System.out.println("session  cargoDaoImpl!!");
		return sf.getCurrentSession();
	}
}
